// component/ThumbnailCollection/ThumbnailCollection.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    navigate_more: {
      type: String,
      value: ""
    },
    navigate:{
      type:String
    },
    collection_name: {
      type: String,
      value: ""
    },
    thumbnail_list: {
      type: Array,
      value: []
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    list: [],
    collection_name: "",
    
  },
  ready: function() {
    this.data_list();
    //console.log('====>',this.properties.thumbnail_list)
  },
  /**
   * 组件的方法列表
   */
  methods: {
    see_more: function() {
      wx.navigateTo({
        url: this.properties.navigate_more,
        success: function(res) {},
        fail: function(res) {},
        complete: function(res) {},
      })
    },
    data_list: function() {
      this.setData({
        collection_name: this.properties.collection_name,
        list: this.properties.thumbnail_list
      })
    }
  }
})